% Python代码段，单行代码，代码文件
\newminted{python}{autogobble,linenos,breaklines,breakanywhere,python3,bgcolor=bg}
\newmintedfile{python}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{python}{\VerbatimEnvironment\begin{pythoncode}}{\end{pythoncode}}
\newmintinline{python}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}

% bash
\newminted{bash}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{bash}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{bash}{\VerbatimEnvironment\begin{bashcode}}{\end{bashcode}}
% HTML
\newminted{html}{autogobble,linenos,breaklines,breakanywhere,frame=topline,bgcolor=bg}
% 无格式文本
\newminted{Text}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{textcode}{\VerbatimEnvironment\begin{Textcode}}{\end{Textcode}}

\newmintinline{Text}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
% C++
\newminted{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{cpp}{\VerbatimEnvironment\begin{cppcode}}{\end{cppcode}}
% CUDA
\newminted{cuda}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{cuda}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{cuda}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{cuda}{\VerbatimEnvironment\begin{cudacode}}{\end{cudacode}}

% CMake
\newminted{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{cmake}{\VerbatimEnvironment\begin{cmakecode}}{\end{cmakecode}}


